<template>
  <div class="title">
    {{title}}
    <span class="fx-1"></span>
    <slot></slot>
  </div>
</template>

<script lang="ts">
  import { Vue, Component } from 'vue-property-decorator'

  @Component({
    props: ['title']
  })
  export default class Title extends Vue {

  }
</script>

<style lang="less" scoped>
  .title {
    display: flex;
    font-size: 20px;
    color: #666;
    margin: 20px auto 40px;
    padding-left: 20px;
  }
</style>
